home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / memsz130.zip / MEMSIZE.DOC < prev    next >
Text File  |  1993-03-14  |  4KB  |  94 lines

  1. OS/2 System Resources (Swapping) - Version 1.30 - Comments
  2.  
  3.   This program provides the ability to monitor system memory free, swap-file
  4. size, available swapping space, the amount of free space on each fixed
  5. drive on your system, the amount of disk space used by the spooler and the
  6. approximate load on your CPU (%).  Each figure is updated once per second.
  7.  
  8.   I've provided the source code.  Feel free to make changes, just send me a
  9. copy and leave my name (and CompuServe ID) intact.  I'm interested in your
  10. comments, especially in the support logic found in the module OBJECT.C.  This
  11. module takes care of a lot of the normal overhead in building simple PM
  12. applications.
  13.  
  14.   One bug I know about: the OS/2 1.x function, DosMemAvail, which I use to
  15. obtain the amount of system memory free, is supposedly not to be counted on.
  16. Under the OS/2 2.0 beta releases, the function seemed to run just fine, but
  17. on the final release they seem to have dummied the thing out to report 512K
  18. all the time.  For this reason, the Free Memory option is not all
  19. that useful.
  20.  
  21.  
  22. Installation:
  23.  
  24.   Only the .EXE and .HLP files need be present on your system.    Either install
  25. them in directories in the PATH and HELP lists, respectively, or install them
  26. together in some directory off the PATH.  In that case, the program must be
  27. started from that directory and the directory '.' must be included in the
  28. HELP environment variable set in CONFIG.SYS.  For some reason, the help
  29. manager doesn't search the current directory before searching the list of
  30. directories in the HELP variable.
  31.  
  32.  
  33. Author:
  34.  
  35.   Rick Papo, CompuServe 72607,3111.
  36.  
  37.  
  38. History:
  39.  
  40.   1.00 - Submitted to Compuserve's OS/2 Forum, early January, 1992.
  41.  
  42.   1.01 - Added single-line border.
  43.          Removed default TaskList processing, added custom logic.
  44.  
  45.   1.10 - Added ability to hide controls.
  46.          Added ability to be moved with the mouse, independent of title bar.
  47.          Added help facility.
  48.          Removed 'exit' option from system menu (Alt+F4 or F3 does fine).
  49.      Now searches CONFIG.SYS to find SWAPPATH.
  50.      Responds to WM_PRESPARAMCHANGED messages, allowing OS/2 2.0's
  51.        font, color and color scheme palettes to work with it properly.
  52.      Added CPU load indicator.
  53.      Added ability to select which items are to be monitored.
  54.      Added ability to reset presentation parameters to default state.
  55.  
  56.   1.20 - Restructured program to make status items easier to add.
  57.      Changed 'Swap-disk free space' to 'Available swap space'.
  58.      Added disk drive free space items.
  59.      Optimized window refresh logic.
  60.      Corrected minor bugs in handling font changes.
  61.  
  62.   1.21 - Fixed bug in computing swap-file size.
  63.  
  64.   1.22 - Fixed bug in computing available swapping space.
  65.  
  66.   1.23 - Fixed bugs in initial sizing and location of CONFIG.SYS.
  67.  
  68.   1.24 - Fixed underflow error in computing CPU load.
  69.  
  70.   1.25 - Fixed bug with determining swap-drive.
  71.  
  72.   1.26 - Switched from using COMSPEC to SYSTEM_INI when trying to determine
  73.        the boot drive in order to find CONFIG.SYS.    There have been
  74.        users with alternative command-line interpreters altering
  75.        COMSPEC to point to a different disk drive.    Something more
  76.        reliable was needed.  This is still not a perfect solution.
  77.  
  78.   1.27 - Fixed problem with initial positioning under OS/2 1.x.
  79.      If SYSTEM_INI cannot be found, look for COMSPEC instead.  If that
  80.        cannot be found, assume the boot drive to be current drive.
  81.  
  82.   1.28 - Fixed problem where title bar and system menu were not being
  83.        initialized correctly when the program started up with the
  84.        controls hidden.
  85.  
  86.   1.29 - Now skips removable drives during setup.
  87.      Now uses the Global Information Segment to determine boot drive,
  88.        and thereby the location of CONFIG.SYS.
  89.      Now accepts any color from the color palette.    It no longer forces
  90.        the use of solid colors.
  91.  
  92.   1.30 - Show Spool-file Size option added to program.
  93.      Fixed bug in adjusting options while program is minimized.
  94.